/**
 * @author zunqiang.Yi
 * @time 2023-10-21 11:05 AM
 * @description 进行路由定义
 * */
import Welcome from '../pages/welcome/index.vue'
const Login = ()=> import('../pages/login/index.vue')
const Home = () => import('../pages/home/index.vue')
const Register = () => import('../pages/login/register.vue')
const Myset = () => import('../pages/mine/myset.vue')
const Mine = () => import('../pages/mine/index.vue')
const Myorder = () => import('../pages/myorder/index.vue')

const Agree = () => import('../pages/login/agree.vue')
const Types = () => import('../pages/types/index.vue')
const Cart = () => import('../pages/cart/index.vue')
const Hot = ()=> import('../pages/home/hot/index.vue')
const All = ()=> import('../pages/home/all/index.vue')
const Address = ()=> import('../pages/cart/address/index.vue')
const AddressAdd = ()=> import('../pages/cart/address/add.vue')




export default [
    { path:'/', component:Welcome, meta:{ noIdentify:true ,layout:'blank-layout' } },
    { path: '/login', component: Login, meta: { noIdentify: true ,layout:'blank-layout'} },
    { path:'/register',component:Register ,meta:{ noIdentify:true ,layout:'blank-layout'}},
    { path:'/agree',component: Agree,meta:{ noIdentify:true ,layout:'blank-layout'}},
    { path: '/home', component: Home },
    { path: '/type', component: Types },
    { path: '/cart', component: Cart},
    { path: '/add', component: AddressAdd,meta:{layout:'blank-layout'}},
    { path: '/all', component: All,meta:{ noIdentify:true ,layout:'blank-layout'} },
    { path:'/address',component: Address,meta:{layout:'blank-layout'}},
    { path: '/mine', component: Mine },
    { path: '/myorder', component: Myorder, meta: { noIdentify: true ,layout:'blank-layout'} },
    { path: '/myset', component: Myset, meta: { noIdentify: true }  },    
    { path: '/hot', component: Hot,meta:{ noIdentify:true ,layout:'blank-layout'} },
]